﻿using System;
using System.Threading.Tasks;
using System.Linq.Expressions;


using Oliving.Edge.Model;
using Oliving.Edge.Model.Dto;
using Oliving.Edge.Model.Models;
using Oliving.Edge.IServices;
using Oliving.Edge.IRepository;
using Oliving.Edge.Services.BASE;

namespace Oliving.Edge.Services
{
    public partial class DTSN_ShangWeiJiServices : BaseServices<DTSN_ShangWeiJi>, IDTSN_ShangWeiJiServices
    {
        IDTSN_ShangWeiJiRepository _dal;
        public DTSN_ShangWeiJiServices(IDTSN_ShangWeiJiRepository dal)
        {
            this._dal = dal;
            base.BaseDal = dal;
        }


 
        public async Task<PageModel<DTSN_ShangWeiJiPageDto>>  QueryPageList(Expression<Func<DTSN_ShangWeiJi, bool>> whereExpression, int intPageIndex, int intPageSize, string strOrderByFileds)
        {
            var page = await _dal.QueryPageList(whereExpression, intPageIndex, intPageSize, strOrderByFileds);
            return page;
        }
    }
}

